package com.crissy.datamasking.service;

import com.crissy.datamasking.common.Result;
import com.crissy.datamasking.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Crissy-月下闲人
 * @since 2024-04-24
 */
public interface IUserService extends IService<User> {

    Result toLogin(String username, String password);

    Result toRegister(String username, String password);

    Result isLogin(String token);
}
